import requestUtil from '@/utils/requestUtil'
import {setToken} from '@/utils/tokenUtil'
import {encryptMD5} from "@/utils/encryptUtil";

export function login(data) {
    return requestUtil({
        url: '/auth/login',
        method: 'post',
        data: data
    })
}

export function getCurrent() {
    return requestUtil({
        url: '/auth/get/current',
        method: 'get'
    })
}
